import { SET_USERINFO } from "../constant/userInfo";
import type { RootAction } from "../reducers/setUserInfo";

//设置token
export const setUserInfo = (userInfo: any): RootAction => {
  return { type: SET_USERINFO, userInfo: userInfo};
};
